package com.example.glgk.dto.gather;

import com.example.glgk.excel.ExcelDto;
import com.example.glgk.excel.ExcelField;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.LinkedHashMap;
import java.util.Map;

/**
 * @author lxk
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ExcelDto(fileName = "三级公立医院绩效考核数据采集")
public class ClinicalGatherDataDto {

    @ApiModelProperty(value = "项目")
    @ExcelField(index = 0, colName = "项目", colWidth = 400)
    private String indicatorName;

    @ApiModelProperty(value = "单位")
    @ExcelField(index = 1, colName = "单位", colWidth = 250)
    private String unit;

    @ApiModelProperty(value = "行次")
    @ExcelField(index = 2, colName = "行次", colWidth = 250)
    private int row;

    @ApiModelProperty(value = "满分值")
    @ExcelField(index = 3, colName = "满分值", colWidth = 250)
    private String mfz;

    //    @ApiModelProperty(value = "部门")
//    @ExcelField(index = 3,colName = "部门",colWidth = 250)
//    private String deptName;
    @ApiModelProperty(value = "合计")
    @ExcelField(index = 4, colName = "合计", colWidth = 250)
    private String totalValue;

    @ApiModelProperty(value = "合计值同比增幅")
    @ExcelField(index = 5,colName = "同比增幅",colWidth = 250)
    private String yoyTotalValue;

    @ApiModelProperty(value = "动态列，使用时间作为 key，数据作为 value")
    private Map<String, HeaderDataDto> dynamicColumns = new LinkedHashMap<>();
}
